const mongoose = require("./db");

// 集合的操作
// 创建集合对象
const stuSchema = new mongoose.Schema({
    userName:{type:String},
    age:{type:Number},
    flag:{type:Boolean},
    hobby:{type:Array}
})

module.exports = mongoose.model("users", stuSchema);
